﻿<!DOCTYPE html>
<html lang="en">
<head>
    <title>坂田文明交通挑战赛 - 错题</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
    <link rel="stylesheet" href="images/error.css">

    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script src="https://cdn.bootcss.com/vue-resource/1.5.0/vue-resource.min.js"></script>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="(list, index) in lists">
                <div class="tit"><b>错题{{ NUM[index] }}：</b>{{ list.title }}</div>
                <dt class="cont">
                   <dd v-for="(item, i) in list.answer" :class="{'true':ABC[i]==list.correct}">{{ABC[i]==list.correct?'正确答案':'错误答案'}}：{{ ABC[i] }}. {{item}}</dd>
                </dt>
            </li>
        </ul>
    </div>
<script src="js/config.js"></script>
<script src="js/error.js"></script>
</body>
</html>